import React, { PureComponent } from 'react'
import enhancedUserInfo from "../hoc/EnhancedUserInfo";

// 高级组件 组件数据增强
export class About extends PureComponent {
  render() {
    return (
      <div>About--name:{this.props.name} 
      <p>age:{this.props.age}</p></div>
    )
  }
}


export default enhancedUserInfo(About)
